//
//  LDDatePickerView.h
//  zhilian
//
//  Created by 李丹 on 2019/7/23.
//  Copyright © 2019 LZT. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PGDatePickManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface LDDatePickerView : UIView
@property (nonatomic, assign)PGDatePickerMode datePickerMode;
@property (nonatomic, strong)PGDatePicker *datePicker;
@property(nonatomic, copy) NSString *middleTextStr; // 中间的提示文字

@property (nonatomic, strong)NSDate *minimumDate ;
@property (nonatomic, strong)NSDate *maximumDate;
@property (nonatomic, strong)NSDate *currentDate;
@property (nonatomic, copy)void(^didSelectComplent)( NSString  * __nullable dateString);
@property (nonatomic, copy)void(^didSelectDateComponents)( NSDateComponents  * __nullable DateComponents);

-(void)show;

@end

NS_ASSUME_NONNULL_END
